@echo off

SET IDX_JAVA_OPTS=--enable-preview -Xms2G -Xmx2G --add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED
SET IDX_CLASSPATH=lib\*
SET IDX_TMP_DIR=-Djava.io.tmpdir=temp

java %IDX_JAVA_OPTS% %IDX_TMP_DIR% -cp %IDX_CLASSPATH% com.gitee.gateway.core.Server